ul {
    list-style: none;

}

li {
    display: inline-block;
}

a {
    text-decoration: none;
    color: #000;
    padding:5px 10px;
    border-radius: 5px;
    margin: 5px;
    border: 1px solid #ccc;
}
a:hover{
    background-color: #ccc;
}